using System;
using Framework.Library.Core.Utils;

namespace Framework.Library.Data.DAL
{
    [Serializable]
    public class PortalControl : DALEntity
    {
        public PortalControl()
		{
			Key = "CONTROLID";
			Table = "PORTAL_CONTROLS";
		}
		public int CONTROLID
		{
			get
			{
				return GetValue<int>("CONTROLID");
			}
			set
			{
				SetValue("CONTROLID", value);
			}
		}
		public int PORTALID
		{
			get
			{
				return GetValue<int>("PORTALID");
			}
			set
			{
				SetValue("PORTALID", value);
			}
		}
		public string CONTROLNAME
		{
			get
			{
				return GetValue<string>("CONTROLNAME");
			}
			set
			{
				SetValue("CONTROLNAME", value);
			}
		}
		public string CONTROLDESCRIPTION
		{
			get
			{
				return GetValue<string>("CONTROLDESCRIPTION");
			}
			set
			{
				SetValue("CONTROLDESCRIPTION", value);
			}
		}
		public string CONTROLPATH
		{
			get
			{
				return GetValue<string>("CONTROLPATH");
			}
			set
			{
				SetValue("CONTROLPATH", value);
			}
		}
		public int CONTROLORDER
		{
			get
			{
				return GetValue<int>("CONTROLORDER");
			}
			set
			{
				SetValue("CONTROLORDER", value);
			}
		}
		public string CONTROLEDITPATH
		{
			get
			{
				return GetValue<string>("CONTROLEDITPATH");
			}
			set
			{
				SetValue("CONTROLEDITPATH", value);
			}
		}
		public string COLUMNXMLPATH
		{
			get
			{
				return GetValue<string>("COLUMNXMLPATH");
			}
			set
			{
				SetValue("COLUMNXMLPATH", value);
			}
		}
		public int SA
		{
			get
			{
				return GetValue<int>("SA");
			}
			set
			{
				SetValue("SA", value);
			}
		}
		public int CONTROLTYPE
		{
			get
			{
				return GetValue<int>("CONTROLTYPE");
			}
			set
			{
				SetValue("CONTROLTYPE", value);
			}
		}

    }
}